<template>
	<div class="Body">
		<div v-if="data.homeShow" style="width: 100%;height: 100%" >
       <china-maps></china-maps>
		</div>
	  <router-view ></router-view>
	</div>
</template>
<script setup>
import {onMounted, ref} from "vue";
import {navSiderStore} from "../store/navSider";
import ChinaMaps from "./echartsMaps/chinaMaps.vue";

let data=ref({
	homeShow:navSiderStore().homeStatus,
})
onMounted(()=>{
  if(navSiderStore().homeStatus){
		getHomeDataInfo();//获取首页数据
	}
})
function getHomeDataInfo(){

}
</script>

<style lang="less" scoped>

	.Body {
		height: 90vh;
		margin-bottom: 1.5%;
		margin-right: 20px;
    padding: 0 10px 0 10px;
		overflow: auto;
	}
	/* 隐藏 Chrome、Safari 和 Opera 的滚动条 */
	.Body::-webkit-scrollbar {
		display: none;
	}

	/* 隐藏 IE、Edge 和 Firefox 的滚动条 */
	.Body {
		-ms-overflow-style: none;  /* IE and Edge */
		scrollbar-width: none;  /* Firefox */
	}
</style>
